Hi Rob,
I'm not sure I understand but it seems to work perfectly for me.
I do see 5 typo errors in your C code (26 vs 36 and bit vs Bit)
and 1 typo in your Basic code (Sleep needs a space between Sleep and 300)
I used Mach3 Version R3.043.066 and latest Test Version of KMotion.
I changed the C code to use a KFLOP LED (bit46)
I put the Basic code into the Mache Help Button "GCodes"
The KFLOP LED and the Mach3 Inhibit Y LED toggle each button press and always shows the same state.
Regards
TK
Group: DynoMotion |
Message: 10645 |
From: Tom Kerekes |
Date: 12/5/2014 |
Subject: Re: Mach3 led and kflop not synced |
Hi Rob,
It seemed to work perfectly for me.
Do you have IO26 configured as anything in Mach3? You might try to change temporarily to IO46 (KFLOP LED) to eliminate that possibility.
You might try using the same Mach3 Version I did and adding your code to the GCode button like I did to see if it then works perfectly for you.
Did you also fix the typo in the Sleep line?
Regards TK
Group: DynoMotion |
Message: 10648 |
From: Rjreese29 |
Date: 12/5/2014 |
Subject: Re: Mach3 led and kflop not synced |
Hi Tom, Thanks for your suggestions. I will give these items a try this weekend.
Yes on the typo.The typo was in my email, not in my code.
Thank you!! Rob
Hi Rob,
It seemed to work perfectly for me.
Do you have IO26 configured as anything in Mach3? You might try to change temporarily to IO46 (KFLOP LED) to eliminate that possibility.
You might try using the same Mach3 Version I did and adding your code to the GCode button like I did to see if it then works perfectly for you.
Did you also fix the typo in the Sleep line?
Regards TK
| | | |